package com.spring.test.service.impl;

import com.spring.test.service.UserAccountService;
import com.spring.test.service.UserInfoService;

public class UserInfoServiceImpl implements UserInfoService {

	private UserAccountService userAccountService;

	public String name;

	public UserInfoServiceImpl() {
		System.out.println("userInfoServiceImpl 初始化，构造函数被调用");
	}

	public UserAccountService getUserAccountService() {
		return userAccountService;
	}

	public void setUserAccountService(UserAccountService userAccountService) {
		this.userAccountService = userAccountService;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String getName() {
		return "name="+name;
	}

	@Override
	public void test() {
		System.out.println(userAccountService);
	}


}
